# 请输入你的代码
def calculate_profit(initial_price, shares, daily_limit_increase, days):  
    # 计算购入总成本  
    total_cost = initial_price * shares  
    
    # 计算第n天的价格  
    final_price = initial_price * (1 + daily_limit_increase) ** days  
    
    # 计算卖出总收入  
    total_revenue = final_price * shares  
    
    # 计算获利  
    profit = total_revenue - total_cost  
    
    return round(profit, 2)  

# 参数设置  
initial_price = 15  # 每股购入价格  
shares = 5500       # 购入股数  
daily_limit_increase = 0.10  # 每日涨停幅度  
days = 15           # 交易天数  

# 计算获利  
profit = calculate_profit(initial_price, shares, daily_limit_increase, days)  
print(f"{profit}")
